entity mux2 is

	port (
		entrada0 : in bit_vector (31 downto 0);
		entrada1 : in bit_vector (31 downto 0);
		seletor : in bit;
		saida : out bit_vector (31 downto 0)
	);
end mux2;

architecture arc_mux2 of mux2 is

begin
	
	saida <= entrada0 when seletor = '0' else
	entrada1;
	
end arc_mux2;